.fr {
    float: right;
}
.fl {
    float: left;
}
// 版心
.w {
    width: 1200px;
    margin: 0 auto;
}
.style-red {
    color: #c81623;
}
.style-weight-red {
    color: #c81623;
    font-weight: 700;
}
.index {
    background-color: #f4f4f4;
}
// 快捷导航栏
.shortcut {
    position: relative;
    height: 31px;
    background-color: #e3e4e5;
    border-bottom: 1px solid #ddd;
    // 里面的所有文字居中就加个行高
    line-height: 31px;
    // 导航栏下的所有li浮动
    li {
        float: left;
        .tab_lk {
            display: block;
            width: 100%;
            height: 100%;
        }
    } 
    .tab_con {
        position: absolute;
        width: 200px;
        height: 150px;
        top: 31px;
        background-color: #fff;
        border: 1px solid #ccc;
        z-index: 1;    
        display: none;
        .tab_ul {
            width: 100%;
            height: 100%;
            box-sizing: border-box;
            padding-left: 10px;
            li {
                float: left;
                width: 90px;
                height: 30px;
            }
        }
    }
    .tab_con_position1 {
        left: 796px;
    }
    .tab_con_position2 {
        left: 900px;
    }
    .tab_con_position3 {
        left: 1000px;
    }
    .tab_con_position4 {
        left: 1100px;
    }
}
.spacer {
    width: 1px;
    height: 10px;
    background-color: #ccc;
    margin: 11px 10px 0;
}

// 头部
.header {
    position: relative;
    height: 141px;
    background-color: #fff;
    .logo {
        position: absolute;
        top: 10px;
        left: 160px;
        width: 190px;
        height: 118px;
        .logo_lk {
            display: block;
            font-size: 0;
            width: 100%;
            height: 100%;
            background: url(../img/sprite.png) no-repeat 0 0;
        }
    }
    .search_fix {
        display: none;
        position: fixed;
        width: 100%;
        height: 52px;
        background-color: #fff;
        z-index: 2;
        border-bottom: 2px solid #f10214;
        .fix_logo {
            position: absolute;
            left: 160px;
            width: 125px;
            height: 40px;
            margin-top: 3px;
            .fix_logo_lk {
                display: block;
                width: 100%;
                height: 100%;
                background: url(../img/sprite.png) no-repeat 0 -120px;
            }
        }
        .search {
            // 大盒子不要给宽高，给小盒子宽高，把大盒子撑开
            position: absolute;
            top: 6px;
            left: 508px;
            background: #fff;
            .text {
                // input和button之间有间隙，
                // 用浮动就可以将两者紧紧贴到一起了
                float: left;
                width: 414px;
                height: 36px;
                border: 2px solid #f10214;
                line-height: 32px;
                font-size: 12px;
                padding-left: 10px;
                color: #ccc;
                box-sizing: border-box;
            }
            .btn {
                float: left;
                width: 84px;
                height: 36px;
                background-color: #f10214;
                border: 0;
                font-size: 16px;
                color: #fff;
            }
        }
        .shopCar {
            position: absolute;
            top: 6px;
            right: 250px;
            width: 138px;
            height: 34px;
            border: 1px solid #dfdfdf;
            background-color: #f7f7f7;
            line-height: 34px;
            text-align: center;
            .count {
                // 他的父也是绝对定位，但是祖父是相对定位，
                // 他的定位就根据他的父来的
                position: absolute;
                top: -5px;
                left: 100px;
                background-color: #e60012;
                height: 14px;
                padding: 0 3px;
                line-height: 14px;
                color: #fff;
                border-radius: 50%;
            }
        }
    }
    .search {
        // 大盒子不要给宽高，给小盒子宽高，把大盒子撑开
        position: absolute;
        top: 25px;
        left: 508px;
        background: #fff;
        .text {
            // input和button之间有间隙，
            // 用浮动就可以将两者紧紧贴到一起了
            float: left;
            width: 414px;
            height: 36px;
            border: 2px solid #b1191a;
            line-height: 32px;
            font-size: 12px;
            padding-left: 10px;
            color: #ccc;
            box-sizing: border-box;
        }
        .btn {
            float: left;
            width: 84px;
            height: 36px;
            background-color: #b1191a;
            border: 0;
            font-size: 16px;
            color: #fff;
        }
    }
    .hotWords {
        position: absolute;
        top: 65px;
        left: 508px;
        li {
            float: left;
            margin: 0 10px;
        }
    }
    .shopCar {
        position: absolute;
        top: 25px;
        right: 250px;
        width: 138px;
        height: 34px;
        border: 1px solid #dfdfdf;
        background-color: #f7f7f7;
        line-height: 34px;
        text-align: center;
        .count {
            // 他的父也是绝对定位，但是祖父是相对定位，
            // 他的定位就根据他的父来的
            position: absolute;
            top: -5px;
            left: 100px;
            background-color: #e60012;
            height: 14px;
            padding: 0 3px;
            line-height: 14px;
            color: #fff;
            border-radius: 50%;
        }
    }
    .nav {
        position: absolute;
        bottom: 10px;
        left: 390px;
        li {
            float: left;
            font-size: 15px;
            color: #333;
            margin: 0 10px;
            img {
                border: 0;
                vertical-align: middle;
            }
        }
        .navitems-tag {
            position: absolute;    
            top: -10px;
            left: 99%;
            margin-left: -13px;
            width: 28px;
            height: 15px;
        }
    }
}

.footer {
    width: 100%;
    margin-top: 30px;
    .mod_service {
        margin: 0 auto;
        width: 1200px;
        .mod_service_list {
            width: 100%;
            height: 42px;
            .mod_service_item {
                float: left;
                width: 300px;
                height: 100%;
                .mod_service_unit {
                    position: relative;
                    width: 250px;
                    margin: 0 auto;
                    .mod_service_tit {
                        position: absolute;
                        left: 10px;
                        width: 36px;
                        height: 42px;
                        text-indent: -999px;
                        overflow: hidden;
                    }
                    .mod_service_duo {
                        background: url(../img/sprite_footer.png) no-repeat;
                        background-position: 0 -192px;
                    }
                    .mod_service_kuai {
                        background: url(../img/sprite_footer.png) no-repeat;
                        background-position: -41px -192px;
                    }
                    .mod_service_hao {
                        background: url(../img/sprite_footer.png) no-repeat;
                        background-position: -82px -192px;
                    }
                    .mod_service_shen {
                        background: url(../img/sprite_footer.png) no-repeat;
                        background-position: -123px -192px;
                    }
                    .mod_service_txt {
                        position: absolute;
                        left: 55px;
                        overflow: hidden;
                        width: 100%;
                        height: 42px;
                        line-height: 42px;
                        font-size: 18px;
                        font-weight: 700;
                        text-overflow: ellipsis;
                        white-space: nowrap;
                        color: #444;
                    }
                }
            }
        }
    }
    .long_line {
        margin-top: 20px;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        height: 1px;
        border-bottom: 1px solid #dedede;

    }
    .mod_help {
        margin-top: 20px;
        .mod_help_list {
            width: 1200px;
            margin: 0 auto;
            .mod_help_nav {
                float: left;
                width: 200px;
                line-height: 22px;
                .mod_help_nav_tit {
                    margin-bottom: 5px;
                    font-size: 14px;
                }
            }
            .mod_help_cover {
                float: right;
                width: 200px;
                height: 150px;
                .mod_help_cover_tit {
                    margin-bottom: 15px;
                    font-size: 14px;
                    text-align: center;
                }
                .mod_help_cover_con {
                    margin: 0 10px;
                    .mod_help_cover_more {
                        text-align: right;
                    }
                }
            }
        }
    }
    .mod_copyright {
        margin: 0 auto;
        width: 1200px;
        .mod_copyright_links {
            margin-top: 20px;
            width: 1100px;
            margin-left: auto;
            margin-right: auto;
            height: 18px;
            .mod_copyright_split {
                margin: 0 7px;
                color: #ccc;
            }
        }
        .mod_copyright_auth {
            width: 560px;
            margin: 25px auto;
            .mod_copyright_auth_ico {
                overflow: hidden;
                display: inline-block;
                margin: 0 3px;
                width: 103px;
                height: 32px;
                line-height: 1000px;
                background: url(../img/sprite_footer.png) no-repeat;
            }
        }
    }
}
